(function(vc){
    vc.extends({
        data:{
            orderDetailInfo:{
                orderDetails:[]
            }
        },
        _initMethod:function(){},
        _initEvent:function(){
            vc.on('orderDetailManage','listOrderDetails',function(_param){
                vc.component.orderDetailInfo.orderDetails = _param;
                vc.component.orderDetailInfo.orderDetails.map(item=>{
                    item.createTime=item.createTime.substr(0,item.createTime.length-2);
                })
            });
        },
        methods:{
            _goBack:function(){
                vc.emit('orderManage','goBack',{});
            }
        }
    });
})(window.vc);
